package com.nari.ncps.screen.dto.excelimport.coal;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 安全环保生态修复面积表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Data
@TableName("qt_dp_coal_safetyenv_restoration")
@Schema(name = "CoalSafetyenvRestoration对象", description = "安全环保生态修复面积表")
public class CoalSafetyenvRestoration implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年")
    @TableField("year")
    private Integer year;

    @Schema(description = "生态修复率(平方米/年)")
    @Excel(name = "生态修复率", orderNum = "0")
    @TableField("restoration_rate")
    private BigDecimal restorationRate;

    @Schema(description = "生态修复量(万立方米)")
    @Excel(name = "生态修复量", orderNum = "1")
    @TableField("restoration_volume")
    private BigDecimal restorationVolume;

    @Schema(description = "单位名称")
    @Excel(name = "单位名称", orderNum = "4")
    @TableField("unit_name")
    private String unitName;

    @Schema(description = "单位编码")
    @Excel(name = "单位编码", orderNum = "5")
    @TableField("unit_code")
    private String unitCode;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "创建人")
    @TableField("creator")
    private String creator;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "更新人")
    @TableField("updater")
    private String updater;
}
